Display apparatus and method for question and answer

ABSTRACT

A display apparatus and a method for questions and answers includes a display unit includes an input unit configured to receive user&#39;s speech voice; a communication unit configured to perform data communication with an answer server; and a processor configured to create and display one or more question sentences using the speech voice in response to the speech voice being a word speech, create a question language corresponding to the question sentence selected from among the displayed one or more question sentences, transmit the created question language to the answer server via the communication unit, and, in response to one or more answer results related to the question language being received from the answer server, display the received one or more answer results. Accordingly, the display apparatus may provide an answer result appropriate to a user&#39;s question intention although a non-sentence speech is input.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority from Korean Patent Application No. 10-2014-0156901, filed on Nov. 12, 2014, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety.

BACKGROUND

1. Field

The following description relates to a display apparatus and method for questions and answers, and more particularly, to a display apparatus and method that provide a question and answer service related to non-sentence speech.

2. Description of the Related Art

Because display apparatuses have been capable of recognizing user's voice, display apparatuses have been capable of recognizing user's speech voice to provide a voice recognition result intended by users or perform a control command.

In particular, the most universal method related to a voice conversation service that provides the voice recognition result intended by users is a keyword recognition method that performs a conversation between users and display apparatuses through a search engine. Such a keyword recognition method refers to display apparatuses that perform a search related to a core keyword based on speech voice related to the core keyword and provide a search result. However, such a method provides numerous search results related to the speech voice for the core keyword, and thus users experience inconvenience by having to search for desired information from numerous search results.

Another method is a sentence recognition method, where display apparatuses analyze speech voice related to a question sentence of a user to determine a user's speech intention, perform a search based on the determined speech intention, and provide an answer result according to the search.

Such a sentence recognition method is advantageous compared to the keyword recognition method described above in that the sentence recognition method provides an answer result closer to the user's speech intention. However, when a sentence speech appropriate to a preset pattern is not input, or noise occurs in the sentence speech due to an external environment, such a sentence recognition method does not perform correct voice recognition on the sentence speech of a user.

SUMMARY

Exemplary embodiments of the present disclosure overcome the above disadvantages and other disadvantages not described above. Also, the present disclosure is not required to overcome the disadvantages described above, and an exemplary embodiment of the present disclosure may not overcome any of the problems described above.

The present disclosure provides a display apparatus that clearly determines a user's question intention from the user's non-sentence speech voice and provides an answer result according to the determination.

According to an aspect of the present disclosure, a display apparatus including a display unit includes an input unit configured to receive user's speech voice; a communication unit configured to perform data communication with an answer server; and a processor configured to create and display one or more question sentences using the speech voice if the speech voice is a word speech, create a question language corresponding to the question sentence selected from among the displayed one or more question sentences, transmit the question language to the answer server via the communication unit, and, if one or more answer results related to the question language are received from the answer server, display the received one or more answer results.

The display apparatus may further include: a storage unit configured to store a plurality of sentences and keywords corresponding to characteristic vectors for the plurality of respective sentences, wherein the processor compares similarity in a pronunciation column between the keywords corresponding to the characteristic vectors of the plurality of respective sentences previously stored in the storage unit and the spoken word, determines a sentence including a keyword having a high similarity with the spoken word as the question sentence related to the speech voice, and displays the determined sentence.

If a plurality of sentences are determined as the question sentences, the processor may display the plurality of sentences selected as the question sentences in order of high number of times previously selected as the question sentences based on selection history information of each of the plurality of sentences.

If a plurality of sentences are determined as the question sentences, the processor may select and display sentences corresponding to a preset number from a sentence having highest number of times previously selected as the question sentences from among the plurality of sentences selected as the question sentences based on selection history information of each of the plurality of sentences.

If keywords related to the spoken word (or utterance word) are received from the answer server, the processor may combine the received keywords, create the question sentence with respect to the speech voice, and display the question sentence.

The answer server may be a triple structure knowledge base server and extract keywords associated with the spoken word using attribute information related to the spoken word.

When there is no sentence including the keyword having the high similarity with the spoken word, the processor may receive the spoken word and the keywords from the answer server, combine the received keywords, and create a question sentence related to the speech voice.

If the user's speech voice is a sentence speech, the processor may extract an object name from the user's speech voice using natural language processing based algorithm and creates a question language based on the extracted object name.

According to an aspect of the present disclosure, a method, performed by a display apparatus, of providing questions and answers includes receiving user's speech voice; if the user's speech voice is a word speech, creating and displaying one or more question sentences using the user's speech voice; creating a question language corresponding to the question sentence selected from among the displayed one or more question sentences and transmitting the question language to an answer server; and receiving and displaying one or more answer results related to the question language from the answer server.

The creating and displaying of the one or more question sentences may include: comparing similarity in a pronunciation column between the keywords corresponding to the characteristic vectors each of a plurality of previously stored sentences and the spoken word, determining a sentence including a keyword having a high similarity with the spoken word as the question sentence, and displaying the determined sentence.

The creating and displaying of the one or more question sentences may include: if a plurality of sentences are determined as the question sentences, displaying the plurality of sentences selected as the question sentences in order of high number of times previously selected as the question sentences based on selection history information of each of the plurality of sentences.

The creating and displaying of the one or more question sentences may include: if a plurality of sentences are determined as the question sentences, selecting and displaying sentences corresponding to a preset number from a sentence having highest number of times previously selected as the question sentences from among the plurality of sentences selected as the question sentences based on selection history information of each of the plurality of sentences.

The creating and displaying of the one or more question sentences may include: if keywords related to the spoken word are received from the answer server, combining the received keywords, creating the question sentence with respect to the speech voice, and displaying the created question sentence.

The answer server may be a triple structure knowledge base server and extract keywords associated with the core vocabulary (or core word) using attribute information related to the core vocabulary.

The creating and displaying of the one or more question sentences may include: when there is no sentence including the keyword having the high similarity with the spoken word, receiving the keywords associated with the spoken word from the answer server, combining the received keywords, and creating and displaying a question sentence related to the speech voice.

The method may further include determining whether the user's speech voice is a word speech or a sentence speech, wherein the transmitting includes, if the user's speech voice is a sentence speech, extracting an object name from the user's speech voice using natural language processing based algorithm, creating a question language based on the extracted object name, and transmitting the created question language to the answer server.

According to an aspect of the present disclosure, a non-transitory computer-readable storage medium coupled to a display apparatus that provides questions and answers and storing a computer program for executing the following operations of: receiving user's speech voice; if the user's speech voice is a word speech, creating and displaying one or more question sentences using the user's speech voice; creating a question language corresponding to the question sentence selected from among the displayed one or more question sentences and transmitting the question language to an answer server; and receiving and displaying one or more answer results related to the question language from the answer server.

Additional and/or other aspects and advantages of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and/or other aspects of the present disclosure will be more apparent by describing certain exemplary embodiments of the present disclosure with reference to the accompanying drawings, in which:

FIG. 1 is a block diagram of a conversation type system according to an exemplary embodiment of the present disclosure;

FIG. 2 is a schematic block diagram of a display apparatus according to an exemplary embodiment of the present disclosure;

FIG. 3 is a detailed block diagram of a display apparatus according to an exemplary embodiment of the present disclosure;

FIG. 4 is an example diagram of describing a display apparatus that creates a question sentence according to an exemplary embodiment of the present disclosure;

FIG. 5 is an example diagram of describing a display apparatus that displays a question sentence according to an exemplary embodiment of the present disclosure;

FIG. 6 is an example diagram of describing a display apparatus that receives keywords related to question sentences through an answer server according to an exemplary embodiment of the present disclosure;

FIG. 7 is an example diagram of describing a display apparatus that displays question sentences based on keywords provided by an answer server according to an exemplary embodiment of the present disclosure; and

FIG. 8 is a flowchart of a method of a display apparatus that provides a question and answer service according to an exemplary embodiment of the present disclosure.

DETAILED DESCRIPTION

Reference will now be made in detail to the embodiments, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout. The embodiments are described below to explain the present disclosure by referring to the figures.

The exemplary embodiments of the present disclosure may be diversely modified. Accordingly, specific exemplary embodiments are illustrated in the drawings and are described in detail in the detailed description. However, it is to be understood that the present disclosure is not limited to a specific exemplary embodiment, but includes all modifications, equivalents, and substitutions without departing from the scope and spirit of the present disclosure. Also, well-known functions or constructions are not described in detail because they would obscure the disclosure with unnecessary detail.

The terms “first”, “second”, etc. may be used to describe diverse components, but the components are not limited by the terms. The terms are only used to distinguish one component from the others.

The terms used in the present disclosure are only used to describe the exemplary embodiments, but are not intended to limit the scope of the disclosure. The singular expression also includes the plural meaning as long as it does not differently mean in the context. In the present application, the terms “include” and “consist of” designate the presence of features, numbers, steps, operations, components, elements, or a combination thereof that are written in the specification, but do not exclude the presence or possibility of addition of one or more other features, numbers, steps, operations, components, elements, or a combination thereof.

In the exemplary embodiment of the present disclosure, a “module” or a “unit” performs at least one function or operation, and may be implemented with hardware, software, or a combination of hardware and software. In addition, a plurality of “modules” or a plurality of “units” may be integrated into at least one module except for a “module” or a “unit” which has to be implemented with specific hardware, and may be implemented with at least one processor (not shown).

Hereinafter, the present disclosure will be described in detail with reference to the accompanying drawings.

In the following description, same drawing reference numerals are used for the same elements even in different drawings. The matters defined in the description, such as detailed construction and elements, are provided to assist in a comprehensive understanding of the disclosure. Thus, it is apparent that the exemplary embodiments of the present disclosure can be carried out without those specifically defined matters. Also, well-known functions or constructions are not described in detail because they would obscure the disclosure with unnecessary detail.

FIG. 1 is a block diagram of a conversation type system according to an exemplary embodiment of the present disclosure.

As illustrated in FIG. 1, the conversation type system includes a display apparatus 100, a voice recognition apparatus 200, and an answer server 300.

The display apparatus 100 is an apparatus that recognizes user's speech voice to perform an operation intended by a user and may be implemented as various electronic apparatuses such as a smart TV, a smart phone, a tablet PC, etc.

The voice recognition apparatus 200 converts a voice signal of the user's speech voice received from the display apparatus 100 into text and transmits a voice recognition result converted into text to the display apparatus 100. However, the present disclosure is not limited thereto. When data communication between the display apparatus 100 and the voice recognition apparatus 200 is not performed or the speech voice is input via a microphone (not shown), the display apparatus 100 may convert the voice signal of the input user's speech voice into text.

The answer server 300 is a triple structure knowledge base server and provides keywords associated with a word spoken by a user when the text converted from the user's speech voice includes the word. The answer server 300 provides answer information related to a question language received from the display apparatus 100.

In more detail, while the display apparatus 100 operates in a voice recognition mode, the user may perform a question related speech regarding desired information in order to receive the desired information through the display apparatus 100. According to an exemplary embodiment, if the user's speech voice is input via the microphone (not shown), the display apparatus 100 may internally perform voice recognition on the user's speech voice and convert the input user's speech voice into text. If the user's speech voice is input via a remote control apparatus (not shown) such as a remote controller, the display apparatus 100 transmits the voice signal of the user's speech voice to the voice recognition apparatus 200. Accordingly, the voice recognition apparatus 200 converts the voice signal of the speech voice received from the display apparatus 100 into text and transmits the voice recognition result according to the converted text.

If the user's speech voice is converted into text through such a process, the display apparatus 100 analyzes text converted from the user's speech voice and determines whether the speech voice is a sentence speech or is a speech including one or more words.

As a result of determination, if the user's speech voice is the speech including one or more words, the display apparatus 100 displays one or more question sentences related to the one or more words. In this regard, the one or more question sentences are sentences predicted as a user's question intention and may be obtained or created through the following exemplary embodiments.

According to an exemplary embodiment, the display apparatus 100 may determine sentences including keywords related to one or more words spoken by the user among a plurality of previously stored sentences as question sentences. According to an exemplary embodiment, the display apparatus 100 may receive keywords associated with a word spoken by the user from the answer server 300, combine the received keywords, and create question sentences related to the speech voice. Operations of determining and creating a question sentence through the exemplary embodiments will be described in detail below.

Thereafter, the display apparatus 100 may display the one or more question sentences predicted as the user's question intention from the user's speech voice. Accordingly, the user may select a question sentence that matches the user's question intention from among the one or more question sentences displayed on the display apparatus 100.

Meanwhile, if the user selects the question sentence or the user's speech voice is the sentence speech, the display apparatus 100 may determine a sentence structure using a natural language processing based algorithm and extract an object name present in the sentence. Thereafter, the display apparatus 100 may create a question language based on the extracted object name. In this regard, the question language is a language recognizable by the answer server 300. According to exemplary embodiments, the question language may be a SPARQL protocol and RDF query language (SPARQL) based language. The SPARQL based language may be a language for questioning a document of a semantic web ontology language (RDF (Resource Description Framework), RDFs (Resource Description Framework Schema), OWL (ONTOLOO Web Language)) provided in the W3C (World Wide Web Consortium) standard.

If such a SPARQL based question language is created, the display apparatus 100 transmits the created question language to the answer server 300. The answer server 300 that has received the question language from the display apparatus 100 may obtain one or more answer results based on the received question language and transmit the answer results to the display apparatus 100. Accordingly, the display apparatus 100 may receive the one or more answer results transmitted from the answer server 300 and display the one or more answer results on a screen, and thus the user may be provided with the answer result that is most appropriate to the user's question intention through the one or more answer results displayed on the screen of the display apparatus 100.

The operations in which the conversation type system according to the exemplary embodiment provides a question and answer service appropriate to a user's question intention have been described in detail above. Operations in which the display apparatus 100 according to the exemplary embodiment provides a question and answer service appropriate to a user's question intention will be described in detail below.

FIG. 2 is a schematic block diagram of the display apparatus 100 according to an exemplary embodiment of the present disclosure. FIG. 3 is a detailed block diagram of the display apparatus 100 according to an exemplary embodiment of the present disclosure.

As shown in FIG. 2, the display apparatus 100 may include an input unit 110, a display unit 120, a communication unit 130, and a processor 140. In addition, the display apparatus 100 may further include a voice processing unit 150 and a storage unit 160 as shown in FIG. 3.

The input unit 110 is for receiving and transferring various user manipulations to the processor 140 and may be implemented as an input panel. In this regard, the input panel may include a touch pad, a key pad including various function keys, number keys, special keys, character keys, etc. or a touch screen. In particular, the input unit 110 may receive a user's speech voice via a microphone (not shown).

The display unit 120 may display question sentences related to the user's speech voice and answer results of the user's speech voice. The display unit 120 may be implemented as a liquid crystal display (LCD), an organic light emitting display (OLED), or a plasma display panel (PDP), etc. In addition, the display unit 120 may be implemented as a touch panel and receive a user touch instruction.

The communication unit 130 may perform data communication with the answer server 300 and receive an answer result related to the user's speech voice. The communication unit 130 may perform data communication with a remote control apparatus (not shown) such as a remote controller and receive a voice signal of the user's speech voice. The communication unit 130 may include various communication modules such as a near distance wireless communication module (not shown), a wireless communication module (not shown), etc.

In this regard, the near distance wireless communication module (not shown) is a communication module that performs wireless communication with a conversation type server 200 located at a near distance and an external server (not shown) providing content, and may be, for example, Bluetooth, Zigbee, etc. The wireless communication module (not shown) is a module connected to an external network according to a wireless communication protocol such as WiFi, IEEE, etc. and performing communication. In addition, the wireless communication module may further include a mobile communication module that accesses a mobile communication network and performs communication according to various mobile communication standards such as 3^(rd) generation (3G), 3^(rd) generation partnership project (3GPP), long term evolution (LTE), etc.

The processor 140 is for controlling an apparatus, may be used with a central processing unit, a microprocessor, a controller, etc., and is used to control general operations of the apparatus. The processor 140 may be coupled to a different function part such as the voice processing unit 150, the communication unit 130, etc. and implemented as a system-on-a-chip (SOC) or a system on chip (SoC).

If the speech voice is word text, the processor 140 may control the display unit 120 to display one or more question sentences related to one or more words. Thereafter, the processor 140 may control the communication unit 130 to analyze a question sentence selected by a user from among the displayed one or more question sentences, create a question language corresponding to the question sentence, and transmit the generated question language to the answer server 300. Thereafter, if one or more answer results related to the question language are received from the answer server 300, the display unit 120 may display the one or more answer results received from the answer server 300 according to a control instruction of the processor 140.

In more detail, the processor 140 may obtain text of the user's speech voice based on the following exemplary embodiments.

According to an exemplary embodiment, the processor 140 may determine a subject that is to perform voice recognition on the user's speech voice according to whether speech voice related to the user's speech voice is input in the input unit 110 via the microphone (not shown) or the remote control apparatus (not shown).

If the user's speech voice is input in the input unit 110, the processor 140 may control the voice processing unit 150 to perform voice recognition on the user's speech voice. According to such a control instruction, the voice processing unit 150 may convert the user's speech voice into text using a speech to text (STT) algorithm.

Meanwhile, if the voice signal of the user's speech voice is received through the communication unit 130, the processor 140 may transmit the voice signal of the user's speech voice to the voice recognition apparatus 200. Accordingly, the voice recognition apparatus 200 may perform voice recognition on the received voice signal of the user's speech voice, convert the voice signal of the user's speech voice into text, and transmit a voice recognition result to the display apparatus 100.

According to an exemplary embodiment, the processor 140 may determine the subject that is to perform voice recognition on the user's speech voice according to whether to be able to perform data communication with the voice recognition apparatus 200 through the communication unit 130. If the processor 140 is able to perform data communication with the voice recognition apparatus 200, the processor 140 may receive the voice recognition result regarding the user's speech voice from the voice recognition apparatus 200. If the processor 140 is unable to perform data communication with the voice recognition apparatus 200, the processor 140 may perform voice recognition on the user's speech voice through the voice processing unit 150.

If text of the user's speech voice is created through the above exemplary embodiment, the processor 140 may analyze the text created from the user's speech voice and determine whether a user speech is a sentence speech or a word speech. According to an exemplary embodiment, the processor 140 may analyze a sentence structure of the text of the speech voice through a morpheme analysis and a syntax analysis that are natural language processing technologies and determine whether the user speech is the sentence speech or the word speech. Such a natural language processing technology is well known, and thus a detailed description thereof is omitted in the present disclosure.

If the user speech is the speech including one or more words through a text analysis of the speech voice, the processor 140 may determine a question sentence predicted as a user's intention and display the determined question sentence on the display unit 120 according to the following exemplary embodiments.

According to an exemplary embodiment, the processor 140 may determine one or more sentences including keywords related to one or more words spoken by the user among a plurality of previously stored sentences as the question sentences related to the user's speech voice. In more detail, the storage unit 160 may store the plurality of sentences and keywords corresponding to characteristic vectors for the plurality of respective sentences. Thus, the processor 140 may compare similarity in a pronunciation column between the keywords corresponding to the characteristic vectors of the plurality of sentences previously stored in the storage unit 160 and the one or more words. Thereafter, the processor 140 may determine a sentence including a keyword having a high similarity with the one or more words spoken by the user as the question sentence related to the speech voice.

According to an exemplary embodiment, the processor 140 may transmit the one or more words spoken by the user to the answer server 300, if receiving keywords associated with the one or more words from the answer server 300, combine the received keywords, and create the question sentence with respect to the user's speech voice. In this regard, the answer server 300 is a triple structure knowledge base server and may perform an operation of extracting keywords associated with a word spoken by the user using attribute information related to the word and transmitting the extracted keywords to the display apparatus 100.

According to an exemplary embodiment, when there is no sentence including the keywords related to the one or more words spoken by the user among the plurality of previously stored sentences, the processor 140 may transmit the one or more words to the answer server 300. Thus, the answer server 300 may perform an operation of extracting keywords associated with the one or more words received from the display apparatus 100 using attribute information related to the one or more words and transmitting the keywords to the display apparatus 100.

As described above, if the question language related to the question sentence is received, the answer server 300 providing the keywords related to the one or more words received from the display apparatus 100 may perform an operation of transmitting an answer result of the question sentence based on the received question language to the display apparatus 100. In this regard, the question language may be a SPARQL protocol and RDF query language (SPARQL) based language recognizable by the answer server 300. As described above, the answer server 300 that provides the keywords for creating the question sentence and provides the answer result with respect to the question sentence based on the question language in the SPARQL based language will be described in detail below.

FIG. 4 is an example diagram of describing a display apparatus that creates a question sentence according to an exemplary embodiment of the present disclosure.

As shown in FIG. 4, the storage unit 160 may match and store a plurality of sentences and keywords corresponding to characteristic vectors for the plurality of respective sentences. Meanwhile, words extracted from user's speech voice may include “AAA”, “movie”, and “cast”. If such words are extracted, the processor 140 may measure similarity between the keywords corresponding to the characteristic vectors of the plurality of sentences previously stored in the storage unit 160 and the words extracted from the user's speech voice.

In more detail, the processor 140 may generate a phonetic symbol of each of “AAA”, “movie”, and “cast” that are the words extracted from the user's speech voice. Thereafter, the processor 140 may measure similarity between phonetic symbols of the keywords corresponding to the characteristic vectors of the plurality of respective sentences previously stored in the storage unit 160 and phonetic symbols of respective “AAA”, “movie”, and “cast” using a similarity algorithm such as a confusion matrix. Thereafter, the processor 140 may extract a sentence including a keyword measured to have a similarity equal to or greater than a predetermined threshold value related to “AAA”, “movie”, and “cast” from among the plurality of previously stored sentences based on a similarity measurement result.

As shown in FIG. 4, the storage unit 160 may store first through sixth sentences 410, 420, 430, 440, 450, and 460 having high similarity related to at least one of “AAA”, “movie”, and “cast”. As described above, if the first through sixth sentences 410 through 460 related to at least one of “AAA”, “movie”, and “cast” are stored, the processor 140 may extract a sentence having high similarity with respect to each of “AAA”, “movie”, and “cast” from the first through sixth sentences 410 through 460. As shown in FIG. 4, a first keyword with respect to “AAB” among keywords matching the sixth sentence 460 may have low similarity with “AAA”. In this case, the processor 140 may determine the first through fifth sentences 410 through 450 except for the sixth sentence 460 as sentences having high similarity with “AAA”, “movie”, and “cast” and determine the first through fifth sentences 410 through 450 as question sentences predictable as a user's speech intention.

FIG. 5 is an example diagram of describing a display apparatus that displays a question sentence according to an exemplary embodiment of the present disclosure.

As described with reference to FIG. 4 above, the first through fifth sentences 410 through 450 may be determined as question sentences predictable as a user's speech intention in connection with a word 510 for each of “AAA”, “movie”, and “cast”. As described above, if the plurality of question sentences are determined in connection with the word 510 for each of “AAA”, “movie”, and “cast”, the processor 140 may control the display unit 120 to display the first through fifth sentences 410 through 450 selected as the question sentences in order of highest number of times selected as the question sentence based on selection history information of each of the first through fifth sentences 410 through 450. For example, in connection with the first through fifth sentences 410 through 450 selected as the question sentences, the first through fifth sentences 410 through 450 may be most selected by a user as the question sentences in order of the fourth sentence 440, the first sentence 410, the third sentence 430, the second sentence 420, and the fifth sentence 450.

In this case, the display unit 120 may display a question sentence list 520 in which the fourth sentence 440, the first sentence 410, the third sentence 430, the second sentence 420, and the fifth sentence 450 are sequentially listed on a screen.

Meanwhile, the processor 140 may control the display unit 120 to display only a predetermined number among the first through fifth sentences 410 through 450 selected as the question sentence. For example, if 3 is set as the number of question sentences that are to be included in the question sentence list 520, the processor 140 may determine the top three sentences, as the question sentences, in order of highest number of times previously selected as the question sentences among the first through fifth sentences 410 through 450. Thus, the display unit 120 may display the question sentence list 520 including the fourth sentence 440, the first sentence 410, and the third sentence 430 that have highest number of times previously selected as the question sentences among the first through fifth sentences 410 through 450 on the screen.

Therefore, the user may select a question sentence intended by the user from among question sentences listed on the question sentence list 520 displayed on the screen.

FIG. 6 is an example diagram of describing the display apparatus 100 that receives keywords related to question sentences through the answer server 300 according to an exemplary embodiment of the present disclosure. FIG. 7 is an example diagram of describing the display apparatus 100 that displays question sentences based on keywords provided by the answer server 300 according to an exemplary embodiment of the present disclosure.

As shown in FIG. 6, user's speech voice may include a vocabulary column including a first word 610 “AAA” and a second word 620 “movie”. In this case, the processor 140 may transmit text of the first and second words 610 and 620 to the answer server 300 that is a triple structure knowledge base server through the communication unit 130. If the text of the first and second words 610 and 620 is received, the answer server 300 may extract keywords associated with the first and second words 610 and 620 using attribute information of the first and second words 610 and 620.

In this regard, the answer server 300 is the triple structure knowledge base server and may extract keywords associated with each word using attribute information related to each word. In more detail, the answer server 300 may obtain higher attribute information for a “movie” from the first and second words 610 and 620. If the higher attribute information for a “movie” is obtained from the first and second words 610 and 620, the answer server 300 may obtain lower attribute information b of each of “actor”, “director”, and “OST” associated with the higher attribute information a. Thus, the answer server 300 may determine the higher attribute information for a “movie” associated with the first and second words 610 and 620 and the lower attribute information b of each of “actor”, “director”, and “OST” as keywords associated with the first and second words 610 and 620 and transmit a keyword search result to the display apparatus 100.

If such a keyword search result is received, the processor 140 may create question sentences by combining the vocabulary column 710 including the first and second words 610 and 620 and keywords 720 (actor, title, director, and OST) included in the keyword search result received from the answer server 300 based on a predefined standard sentence table.

As shown in FIG. 7, the display unit 120 may display a question sentence list 730 including the plurality of question sentences created based on the vocabulary column 710 including the first and second words 610 and 620 and the keywords 720 (actor, title, director, and OST) included in the keyword search result received from the answer server 300 on a screen. That is, the display unit 120 may display the question sentence list 730 including a first question sentence “What is a title of a movie AAA appears in?”, a second question sentence “Which actress does appear in the movie together with AAA?”, a third question sentence “What is an OST of the movie AAA appears in?”, and a fourth question sentence “Who is a director of the movie AAA appears in?” on the screen. Thus, a user may select a question sentence intended by the user from among question sentences listed on the question sentence list 730 displayed on the screen.

If one question sentence is selected through various exemplary embodiments or if, as described above a user's speech, is a sentence speech, the processor 140 may analyze the selected question sentence or a user's speech sentence that is converted into text (hereinafter referred to as the question sentence) and create a question language. In more detail, the processor 140 may determine a sentence structure of the question sentence selected or spoken by the user using natural language processing based algorithm and extract an object name present in the question sentence. Thereafter, the processor 140 may determine a relationship with knowledge desired by the user based on the extracted object name.

According to an exemplary embodiment, the processor 140 may determine the relationship with the knowledge desired by the user through a lexical answer type (LAT) or focus method. In this regard, the LAT method is a method of performing a question intention analysis by classifying question sentences into forms thereof, and the focus method is a method of finding attributes of answers present in question sentences. Such the LAT and focus methods are well known, and thus detailed descriptions thereof are omitted in the present disclosure.

If keywords corresponding to characteristic vectors are extracted from the question sentence selected or spoken by the user through such various methods, the processor 140 may change the keywords extracted from the question sentence as a SPARQL language recognizable by the answer server 300 and transmit a question language converted into the SPARQL language to the answer server 300. Accordingly, the answer server 300 may generate or extract an answer result with respect to the user question sentence based on the question language received from the display apparatus 100 and transmit the answer result to the display apparatus 100.

For example, the question sentence selected or spoken by the user may be “What is a title of a movie AAA appears in?”, and keywords corresponding to characteristic vectors extracted from the question sentence may be “AAA”, “movie”, and “title”. In this case, as shown in FIG. 7, the answer server 300 may extract a first object c “movie_01” and a second object c “movie_02” based on “AAA”, “movie”, and “title” and transmit an answer result to the display apparatus 100. Thus, the display unit 120 may display answer results with respect to the first object c “movie_01” and the second object c “movie_02” related to the question sentence “What is a title of a movie AAA appears in?” based on the answer result received from the answer server 300 on the screen.

A method in which the display apparatus 100 provides a question and answer service based on user's speech voice will be described in detail below.

FIG. 8 is a flowchart of a method of the display apparatus 100 that provides a question and answer service according to an exemplary embodiment of the present disclosure.

As shown in FIG. 8, if user's speech voice is input in a voice recognition mode, the display apparatus 100 may determine whether text of the input speech voice includes one or more words (operations S810 and S820). According to an exemplary embodiment, if the user's speech voice is input through a microphone (not shown), the display apparatus 100 may convert the user's speech voice into text using a speech to text (STT) algorithm. Meanwhile, if a voice signal of the user's speech voice is input through a remote control apparatus (not shown), the display apparatus 100 may transmit the voice signal of the user's speech voice to the voice recognition apparatus 200. Accordingly, the voice recognition apparatus 200 may perform voice recognition on the voice signal of the speech voice, convert the speech voice into text, and transmit a voice recognition result to the display apparatus 100.

If the text is created with respect to the user's speech voice through the exemplary embodiment above, the display apparatus 100 may analyze the text created from the user's speech voice and determine whether a user speech is a sentence speech or a word speech. According to an exemplary embodiment, the display apparatus 100 may analyze a sentence structure of the text of the speech voice through a morpheme analysis and a syntax analysis that are natural language processing technologies and determine whether the user speech is the sentence speech or the word speech.

If the user speech is a speech including one or more words through text analysis on the speech voice, the display apparatus 100 may display one or more question sentences related to one or more words (operation S830).

According to an exemplary embodiment, the display apparatus 100 may determine one or more sentences including keywords related to one or more words among a plurality of previously stored sentences as the question sentences related to the user's speech voice. In more detail, the display apparatus 100 may compare similarity in a pronunciation column between keywords corresponding to characteristic vectors of the plurality of previously stored sentences and the one or more words. Thereafter, the display apparatus 100 may determine and display a sentence including a keyword having a high similarity with the one or more words as the question sentence related to the speech voice.

Meanwhile, if a plurality of sentences are determined as the question sentences, the display apparatus 100 may display the plurality of sentences selected as the question sentences in order of high number of times previously selected as the question sentences based on selection history information of each of the plurality of sentences.

Meanwhile, if a plurality of sentences determined as the question sentences exceed a predetermined number, the display apparatus 100 may select and display sentences, as the question sentences, corresponding to the predetermined number from a sentence having high number of times previously selected as the question sentences from among the plurality of sentences selected as the question sentences.

According to an exemplary embodiment, the display apparatus 100 may transmit the one or more words to the answer server 300, if receiving keywords related to the one or more words from the answer server 300, combine the received keywords, and create the question sentence with respect to the user's speech voice. In this regard, the answer server 300 is a triple structure knowledge base server and may perform an operation of extracting keywords associated with a word spoken by the user using attribute information related to the word and transmitting the extracted keywords to the display apparatus 100.

According to an exemplary embodiment, when there is no sentence including the keywords related to the one or more words among the plurality of previously stored sentences, the display apparatus 100 may transmit the one or more words to the answer server 300. Thus, the answer server 300 may perform an operation of extracting keywords associated with the one or more words received from the display apparatus 100 using attribute information of the one or more words and transmitting the keywords to the display apparatus 100. Through such various exemplary embodiments, the display apparatus 100 may display the one or more question sentences related to the user's speech voice.

Accordingly, a user may select a question sentence intended by the user from among the question sentences displayed on the display apparatus 100. As described above, if one question sentence is selected by the user or if it is determined in operation S820 that the user's speech is the sentence speech, the display apparatus 100 may analyze the selected question sentence or a user's speech sentence that is converted into text (hereinafter referred to as the question sentence), create a question language, and transmit the question language to the answer server 300 (operation S840). Accordingly, the answer server 300 may obtain one or more answer results related to information desired by the user based on the received question language and transmit the one or more answer results to the display apparatus 100. Accordingly, the display apparatus 100 may display the one or more answer results received from the answer server 30 (operation S850).

In more detail, the display apparatus 100 may determine a sentence structure of the question sentence selected or spoken by the user using natural language processing based algorithm and extract an object name present in the question sentence. Thereafter, the display apparatus 100 may determine a relationship with knowledge desired by the user based on the extracted object name. According to an exemplary embodiment, the display apparatus 100 may determine the relationship with the knowledge desired by the user through a lexical answer type (LAT) or focus method.

If keywords corresponding to characteristic vectors are extracted from the question sentence selected or spoken by the user through such various methods, the display apparatus 100 may convert the keywords extracted from the question sentence as a SPARQL language recognizable by the answer server 300 and transmit a question language converted into the SPARQL language to the answer server 300. In this regard, the SPARQL based language may be a language for questioning a document of a semantic web ontology language (RDF (Resource Description Framework), RDFs (Resource Description Framework Schema), or OWL (ONTOLOO Web Language)) provided in the W3C (World Wide Web Consortium) standard.

Meanwhile, if the question language converted into the SPARQL language is received, the answer server 300 may generate or extract an answer result with respect to the user question sentence based on the received question language and transmit the answer result to the display apparatus 100.

As described above, according to one or more exemplary embodiments of the present disclosure, a display apparatus may provide an answer result appropriate to a user's question intention although a non-sentence speech is input.

The method of the display apparatus 100 that provides the question and answer service as described above may be implemented as at least one program to perform the method of providing the question and answer service described above. The program may be stored in a non-transitory computer readable medium.

The non-transitory computer readable medium is a medium which does not store data temporarily such as a register, cache, and memory, but stores data semi-permanently and is readable by devices. More specifically, the aforementioned programs may be stored in the non-transitory computer readable media such as compact disks (CDs), digital video disks (DVDs), hard disks, Blu-ray disks, universal serial buses (USBs), memory cards, and read-only memory (ROM).

The foregoing exemplary embodiments and advantages are merely exemplary and are not to be construed as limiting the present disclosure. The present teaching can be readily applied to other types of apparatuses. Also, the description of the exemplary embodiments of the present disclosure is intended to be illustrative, and not to limit the scope of the claims, and many alternatives, modifications, and variations will be apparent to those skilled in the art.

Although a few embodiments have been shown and described, it would be appreciated by those skilled in the art that changes may be made in these embodiments without departing from the principles and spirit of the disclosure, the scope of which is defined in the claims and their equivalents. 

What is claimed is:
 1. A display apparatus including a display unit, the display apparatus comprising: an input unit configured to receive a user's speech; a communication unit configured to perform data communication with an answer server; and a processor configured to: create and display at least one question sentence using the speech in response to the speech being a word speech, create a question language corresponding to a question sentence selected from among the displayed at least one question sentence, transmit the question language to the answer server via the communication unit, and, in response to at least one answer result related to the question language being received from the answer server, display the received at least one answer result.
 2. The display apparatus as claimed in claim 1, further comprising: a storage unit configured to store a plurality of sentences, and keywords corresponding to characteristic vectors for the plurality of respective sentences, wherein the processor compares a similarity in a pronunciation column between the stored keywords corresponding to the characteristic vectors for the plurality of respective sentences and the word speech, determines a sentence including a keyword having a high similarity with the word speech, and displays the determined sentence as the at least one question sentence.
 3. The display apparatus as claimed in claim 2, wherein, in response to a plurality of sentences being determined as the at least one question sentence, the processor displays the plurality of sentences determined as the at least one question sentence in order of a highest number of times the respective at least one question sentence has been previously selected based on selection history information for each of the plurality of sentences.
 4. The display apparatus as claimed in claim 2, wherein, in response to a plurality of sentences being determined as the at least one question sentence, the processor selects and displays a predetermined number of sentences having a highest number of times the respective at least one question sentence has been previously selected based on selection history information for each of the plurality of sentences.
 5. The display apparatus as claimed in claim 1, wherein, in response to keywords related to the word speech being received from the answer server, the processor combines the received keywords, creates the question sentence with respect to the speech, and displays the question sentence.
 6. The display apparatus as claimed in claim 5, wherein the answer server is a triple structure knowledge base server and extracts the keywords related to the word speech using attribute information related to the word speech.
 7. The display apparatus as claimed in claim 2, wherein, when there is no sentence including the keyword having the highest similarity with the word speech, the processor receives the word speech and the keywords from the answer server, combines the received keywords, and creates a question sentence related to the word speech.
 8. The display apparatus as claimed in claim 1, wherein, in response to the user's speech being a sentence speech, the processor extracts an object name from the user's speech using a natural language processing based algorithm and creates a question language based on the extracted object name.
 9. A method, performed by a display apparatus, of providing questions and answers, the method comprising: receiving a user's speech; in response to the user's speech being a word speech, creating and displaying at least one question sentence using the user's speech; creating a question language corresponding to a question sentence selected from among the displayed at least one question sentence and transmitting the question language to an answer server; receiving at least one answer result related to the question language from the answer server; and displaying the received at least one answer result.
 10. The method as claimed in claim 9, wherein the creating and displaying of the one or more question sentences includes: comparing a similarity in a pronunciation column between keywords corresponding to characteristic vectors for each of a plurality of previously stored sentences and the word speech, determining a sentence including a keyword having a high similarity with the word speech, and displaying the determined sentence as the at least one question sentence.
 11. The method as claimed in claim 10, wherein the creating and displaying of the one or more question sentences includes: in response to a plurality of sentences being determined as the at least one question sentence, displaying the plurality of sentences determined as the at least one question sentence in order of a highest number of times the respective at least one question sentence has been previously selected based on selection history information for each of the plurality of sentences.
 12. The method as claimed in claim 10, wherein the creating and displaying of the one or more question sentences includes: in response to a plurality of sentences being determined as the at least one question sentence, selecting and displaying a predetermined number of sentences having a highest number of times the respective at least one question sentence has been previously selected based on selection history information for each of the plurality of sentences.
 13. The method as claimed in claim 9, wherein the creating and displaying of the one or more question sentences includes: in response to keywords related to the word speech being received from the answer server, combining the received keywords, creating the question sentence with respect to the speech, and displaying the created question sentence.
 14. The method as claimed in claim 13, wherein the answer server is a triple structure knowledge base server and extracts keywords associated with the core vocabulary using attribute information related to the core vocabulary.
 15. The method as claimed in claim 10, wherein the creating and displaying of the one or more question sentences includes: when there is no sentence including the keyword having the highest similarity with the word speech, receiving the keywords associated with the word speech from the answer server, combining the received keywords, and creating and displaying a question sentence related to the word speech.
 16. The method as claimed in claim 9, further comprising: determining whether the user's speech is a word speech or a sentence speech, wherein the transmitting includes, in response to the user's speech being a sentence speech, extracting an object name from the user's speech using a natural language processing based algorithm, creating a question language based on the extracted object name, and transmitting the created question language to the answer server.
 17. A non-transitory computer-readable storage medium coupled to a display apparatus that provides questions and answers, and storing a computer program for executing the following operations of: receiving a user's speech; if the user's speech is a word speech, creating and displaying at least one question sentence using the user's speech; creating a question language corresponding to the question sentence selected from among the displayed at least one question sentence and transmitting the question language to an answer server; receiving at least one answer result related to the question language from the answer server; and displaying the received at least one answer result. 